<?php
$Name = $_POST['name'];
$News = $_POST['news'];
$Item = $_POST['authorised'];

if(isset($_POST['save_news']))
{
	$sql = "insert into blog (title,comments,status,CreatedDate) Values ('$Name','$News','$Item',now())";
	$res = mysql_query($sql);
	//header("location: index.php?tc=blog_add&News=true");
	echo "<script>window.location='index.php?tc=blog_add&News=true'</script>";
}
?>